package com.wisdytech.linkdcs.equipment.model;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 
 * </p>
 *
 * @author Yanghu
 * @since 2017-09-16
 */
@TableName("tt_eq_client")
public class Client extends Model<Client> {

    private static final long serialVersionUID = 1L;

    @TableId("PK_ID")
	private String pkId;
    /**
     * 终端编号
     */
	@TableField("CLIENT_CODE")
	private String clientCode;
	/**
	 * 终端名称
	 */
	@TableField("CLIENT_NAME")
	private String clientName;
	/**
	 * 终端地址
	 */
	@TableField("EC_ADDRESS")
	private String ecAddress;
	/**
	 * 终端通信地址
	 */
	@TableField("CLIENT_ADDRESS")
	private String clientAddress;
	/**
	 * 增加CLIENT_ADDRESS
	 * 减少EC_ROUTE
	 */
	/**
	 * 工序id
	 */
	@TableField("OPERATION_ID")
	private String operationId;
	/**
     * 工序名称
     */
    @TableField(exist=false)
    private String operationName;
	
	/**
     * 删除标记
     */
    @TableField("DEL_FLAG")
    private String delFlag;
    /**
     * 记录创建人
     */
    @TableField("CREATE_USER")
    private String createUser;
    /**
     * 记录创建时间
     */
    @TableField("CREATE_DATE")
    private Date createDate;
    /**
     * 记录更新人
     */
    @TableField("UPDATE_USER")
    private String updateUser;
    /**
     * 记录更新时间
     */
    @TableField("UPDATE_DATE")
    private Date updateDate;
    /**
     * 备注
     */
    @TableField("REMARK")
    private String remark;
    
    /**
     * 连接设备编号
     */
    @TableField(exist=false)
    private String equipCode;
    
    /**
     * 连接设备名称
     */
    @TableField(exist=false)
    private String equipName;
    
    /**
     * 设备通信地址
     */
    @TableField(exist=false)
    private String communicateAddr;
    
    /**
     * 设备接口
     */
    @TableField(exist=false)
    private String communicateInter;
    /**
     * 设备备注
     */
    @TableField(exist=false)
    private String equipRemark;
    
    /***
     * 采集频率
     */
    @TableField(exist=false)
    private Integer frequency;
    
    
    
    
	public Integer getFrequency() {
        return frequency;
    }

    public void setFrequency(Integer frequency) {
        this.frequency = frequency;
    }

    public String getDelFlag() {
        return delFlag;
    }

    public void setDelFlag(String delFlag) {
        this.delFlag = delFlag;
    }

    public String getCreateUser() {
        return createUser;
    }

    public void setCreateUser(String createUser) {
        this.createUser = createUser;
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    public String getUpdateUser() {
        return updateUser;
    }

    public void setUpdateUser(String updateUser) {
        this.updateUser = updateUser;
    }

    public Date getUpdateDate() {
        return updateDate;
    }

    public void setUpdateDate(Date updateDate) {
        this.updateDate = updateDate;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getPkId() {
		return pkId;
	}

	public void setPkId(String pkId) {
		this.pkId = pkId;
	}

	public String getClientCode() {
		return clientCode;
	}

	public void setClientCode(String clientCode) {
		this.clientCode = clientCode;
	}

	public String getClientName() {
		return clientName;
	}

	public void setClientName(String clientName) {
		this.clientName = clientName;
	}

	public String getEcAddress() {
		return ecAddress;
	}

	public void setEcAddress(String ecAddress) {
		this.ecAddress = ecAddress;
	}

	public String getEquipCode() {
        return equipCode;
    }

    public String getClientAddress() {
		return clientAddress;
	}

	public void setClientAddress(String clientAddress) {
		this.clientAddress = clientAddress;
	}

	public void setEquipCode(String equipCode) {
        this.equipCode = equipCode;
    }

    public String getEquipName() {
        return equipName;
    }

    public void setEquipName(String equipName) {
        this.equipName = equipName;
    }

    public String getCommunicateAddr() {
        return communicateAddr;
    }

    public void setCommunicateAddr(String communicateAddr) {
        this.communicateAddr = communicateAddr;
    }

    public String getCommunicateInter() {
        return communicateInter;
    }

    public void setCommunicateInter(String communicateInter) {
        this.communicateInter = communicateInter;
    }

    public String getOperationId() {
        return operationId;
    }

    public void setOperationId(String operationId) {
        this.operationId = operationId;
    }
    
    

    public String getOperationName() {
        return operationName;
    }

    public void setOperationName(String operationName) {
        this.operationName = operationName;
    }

    public String getEquipRemark() {
        return equipRemark;
    }

    public void setEquipRemark(String equipRemark) {
        this.equipRemark = equipRemark;
    }

    @Override
	protected Serializable pkVal() {
		return this.pkId;
	}

}
